win32: get rid of GdkDragContextPrivateWin32 and related machinery.
authorDieter Verfaillie <dieterv@optionexplicit.be>
Thu, 22 Sep 2011 20:47:23 +0000 (22:47 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 21 Nov 2011 13:34:06 +0000 (14:34 +0100)
commit2fb8b97b657c2690085957c9c7b6f547ca42265f
tree3ee6fb03edbc8de94647678b6e7b1b6cdca8f1e1
parentc533482f8014437b17c71fbab1a66df6fefd3e70
win32: get rid of GdkDragContextPrivateWin32 and related machinery.

This turns GdkWin32DragContext into a proper GdkDragContext subclass.
Because we now correctly initialize GdkWin32DragContext in
gdk_drag_context_new, we no longer crash immediatly when a DnD
operation is initialized (the find_window, drag_status, ... vfuncs
where all pointing to 0x0 instead of their proper win32 implementations).

We now try to consistently refer to GdkDragContext as "context",
GdkWin32DragContext as "win32_context" and the ole2 related
target_drag_context and source_drag_context as "ctx".

Members of GdkWin32DragContext only used by the ole2 DnD codepaths
are now explicitly marked with a ole2_dnd_ prefix.
gdk/win32/gdkdnd-win32.c